home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / Emulation_Include_Files / sipapi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.5 KB  |  73 lines

  1. #ifndef __INCLUDE_SIP__
  2. #define __INCLUDE_SIP__
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. DWORD WINAPI SipStatus();
  9.  
  10. #define SIP_STATUS_UNAVAILABLE    0
  11. #define SIP_STATUS_AVAILABLE    1
  12.  
  13. BOOL WINAPI    SipSetDefaultRect(RECT *);
  14. BOOL WINAPI    SipRegisterNotification(HWND);
  15.  
  16. BOOL WINAPI SipShowIM(DWORD);
  17.  
  18. #define SIPF_OFF    0x00000000
  19. #define SIPF_ON     0x00000001
  20. #define SIPF_DOCKED    0x00000002
  21. #define SIPF_LOCKED    0x00000004
  22.  
  23. #define SPI_SETCOMPLETIONINFO    223
  24. #define SPI_SETSIPINFO            224
  25. #define SPI_GETSIPINFO            225
  26. #define SPI_SETCURRENTIM        226
  27. #define SPI_GETCURRENTIM        227
  28.  
  29. typedef struct    tagSIPINFO
  30. {
  31.     DWORD   cbSize;
  32.     DWORD   fdwFlags;
  33.     RECT    rcVisibleDesktop;
  34.     RECT    rcSipRect;
  35.     DWORD   dwImDataSize;
  36.     void   *pvImData;
  37. } SIPINFO;
  38.  
  39. BOOL WINAPI SipGetInfo(SIPINFO *);
  40. BOOL WINAPI SipSetInfo(SIPINFO *);
  41.  
  42. typedef struct tagIMENUMINFO
  43. {
  44.     TCHAR   szName[MAX_PATH];
  45.     CLSID   clsid;
  46. } IMENUMINFO, *PIMENUMINFO;
  47.  
  48. typedef int (* IMENUMPROC)(IMENUMINFO *);
  49.  
  50. int WINAPI SipEnumIM(IMENUMPROC);
  51. BOOL WINAPI SipGetCurrentIM(CLSID *);
  52. BOOL WINAPI SipSetCurrentIM(CLSID *);
  53.  
  54. typedef struct    tagIMWINDOWPOS
  55. {
  56.     int     x;        // Screen coordinate
  57.     int     y;        // Screen coordinate
  58.     int     cx;     // Screen coordinate
  59.     int     cy;     // Screen coordinate
  60. } IMWINDOWPOS;
  61.  
  62. // The following defines are for the WPARAM value in WM_IM_INFO.
  63.  
  64. #define IM_POSITION    0
  65. #define IM_WIDEIMAGE    1
  66. #define IM_NARROWIMAGE    2
  67.  
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71.  
  72. #endif//__INCLUDE_SIP__
  73.